package com.ztools.pc.controller.listener;

import com.ztools.common.util.common.Result;
import com.ztools.pc.service.listener.HomeService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author: seeTools
 * @Date: 2023/5/20  17:57
 * @Version 1.0
 */
@RestController
@RequestMapping("/listener/home")
public class HomeController {

    @Resource
    private HomeService homeService;

    @GetMapping(value = "/cache")
    public Result getCacheInfo() {
        return homeService.getCacheInfo();
    }


}
